package com.location.footprint.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * Created by Mr.Jude on 2015/7/18.
 */
public class FootPrintBean implements MultiItemEntity {
    public static final int TEXT_IMG = 1;
    public static final int VISITING = 2;
    public static final int HEADER = 3;
    private int itemType;

    private String nickName;
    private String avatarPath;
    private String publishTime;
    private String photoPath;
    private String content;
    private String address;
    private String height; //海拔
    private String like; //点赞

    public String getPhotoPath() {
        return photoPath;
    }

    public void setPhotoPath(String photoPath) {
        this.photoPath = photoPath;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAvatarPath() {
        return avatarPath;
    }

    public void setAvatarPath(String avatarPath) {
        this.avatarPath = avatarPath;
    }

    public String getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(String publishTime) {
        this.publishTime = publishTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getLike() {
        if (like == null) {
            like = "0";
        }
        return like;
    }

    public void setLike(String like) {
        this.like = like;
    }

    public FootPrintBean(int itemType) {
        this.itemType = itemType;
    }

    @Override
    public int getItemType() {
        return itemType;
    }
}
